package com.example.librarymanagementproject2.service;


/**
 * @InterfaceName EmailService
 * @Description TODO
 * @Author Kx
 * @Date 2025/10/16 20:26
 * @Version 1.0
 */
public interface EmailService {
    /**
     * @author: kx
     * @date: 2025/10/20 19:18
     * @param recipientEmail : 接收用户邮箱
     * @description: 发送注册验证码邮件
    */
    void insertEmailSendRecord(String recipientEmail);

    /**
     * @author: kx
     * @date: 2025/10/28 11:07
     * @param recipientEmail : 接收用户邮箱
     * @param bookName : 图书名称
     * @param borrowRecordId : 借阅记录ID
     * @description: 发送图书借阅验证码邮件
    */
    void sendBookBorrowCode(String bookName, String recipientEmail, Long borrowRecordId);
}
